/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package DataModel;

import java.util.Date;

/**
 *
 * @author Rainiero
 */
public class ProjectSummary {

    // <editor-fold defaultstate="collapsed" desc="Attributes">
    private int _idProyecto;
    private String _name;
    private String _country;
    private String _organization;
    private double _initialBudget;
    private Date _initialDate;
    private Date _endingDate;
    private Enums.ProjectState _state;
    private Enums.ProjectType _type;
    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Constructor">
    public ProjectSummary(int _idProyecto, String _name, Date _initialDate,
                    Date _endingDate, double _initialBudget,
                    String _country, String organization,
                    Enums.ProjectState _state, Enums.ProjectType _type)
    {
        this._idProyecto = _idProyecto;
        this._name = _name;
        this._initialDate = _initialDate;
        this._endingDate = _endingDate;
        this._initialBudget = _initialBudget;
        this._country = _country;
        this._organization = organization;
        this._state = _state;
        this._type = _type;
    }
    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Properties">
    public String getCountryName() {
        return _country;
    }

    public Date getEndingDate() {
        return _endingDate;
    }

    public int getIdProyecto() {
        return _idProyecto;
    }

    public double getInitialBudget() {
        return _initialBudget;
    }

    public Date getInitialDate() {
        return _initialDate;
    }

    public String getName() {
        return _name;
    }

    public Enums.ProjectState getState() {
        return _state;
    }

    public String getOrganizationName() {
        return _organization;
    }

    public Enums.ProjectType getType() {
        return _type;
    }

    public void setEndingDate(Date _endingDate) {
        this._endingDate = _endingDate;
    }

    public void setInitialBudget(double _initialBudget) {
        this._initialBudget = _initialBudget;
    }

    public void setInitialDate(Date _initialDate) {
        this._initialDate = _initialDate;
    }

    public void setName(String _name) {
        this._name = _name;
    }

    public void setState(Enums.ProjectState _state) {
        this._state = _state;
    }
    // </editor-fold>

}
